package com.dragon.modules.yuegou.model.company;

import com.dragon.modules.yuegou.entity.company.EmployeesEntity;
import com.dragon.modules.yuegou.enums.company.EmployeesStatus;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 企业员工表模型类
 * 
 * @author pbuilder generated
 * @date 2019-03-18 17:11:41
 * @company sgy
 * @version 2.0
 * @see Length 长度限制
 * @see NotNull 对象非空
 * @see NotEmpty 字符串、集合、表、数组非空
 */
public class Employees extends EmployeesEntity {

	@ApiModelProperty("单位名称")
	private String companyName;//单位名称
	
	@ApiModelProperty("商圈名称")
	private String bcName;//商圈名称

	/**
	 * 构造一个空企业员工表模型对象
	 */
	public Employees(){
		super();
	}
	
	/**
	 * 依据实体对象的信息构造一个企业员工表模型对象
	 * 
	 * @param entity 实体对象
	 */
	public Employees(EmployeesEntity entity){
		super(entity);
	}

	/**
	 * 依据其它对象的信息构造一个企业员工表模型对象
	 * 
	 * @param other 其它对象
	 */
	public Employees(Employees other){
		super(other);
	}

	/**
	 * 单位名称
	 * */
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	/**
	 * 商圈名称
	 * */
	public String getBcName() {
		return bcName;
	}

	public void setBcName(String bcName) {
		this.bcName = bcName;
	}

	@Override
	public String getId() {
    	return id;
    }

    /**
	 * 设置
	 * 
	 * @param id 
	 * @return 当前对象
	 */
    public Employees id(String id) {
    	this.id = id;
    	return this;
    }

	@Override
	public String getCompanyId() {
    	return companyId;
    }

    /**
	 * 设置企业id
	 * 
	 * @param companyId 企业id
	 * @return 当前对象
	 */
    public Employees companyId(String companyId) {
    	this.companyId = companyId;
    	return this;
    }

	@Override
	public String getDepartmentId() {
    	return departmentId;
    }

    /**
	 * 设置部门id
	 * 
	 * @param departmentId 部门id
	 * @return 当前对象
	 */
    public Employees departmentId(String departmentId) {
    	this.departmentId = departmentId;
    	return this;
    }

	@Override
	public String getName() {
    	return name;
    }

    /**
	 * 设置员工姓名
	 * 
	 * @param name 员工姓名
	 * @return 当前对象
	 */
    public Employees name(String name) {
    	this.name = name;
    	return this;
    }

	@Override
	public String getMemberId() {
    	return memberId;
    }

    /**
	 * 设置
	 * 
	 * @param memberId 
	 * @return 当前对象
	 */
    public Employees memberId(String memberId) {
    	this.memberId = memberId;
    	return this;
    }

	@Override
	public String getMoblie() {
    	return moblie;
    }

    /**
	 * 设置
	 * 
	 * @param moblie 
	 * @return 当前对象
	 */
    public Employees moblie(String moblie) {
    	this.moblie = moblie;
    	return this;
    }

	@Override
	public String getWalletId() {
    	return walletId;
    }

    /**
	 * 设置
	 * 
	 * @param walletId 
	 * @return 当前对象
	 */
    public Employees walletId(String walletId) {
    	this.walletId = walletId;
    	return this;
    }

	@Override
	public EmployeesStatus getStatus() {
    	return status;
    }

    /**
	 * 设置[枚举]状态：1-已启用-ENABLED:、2-禁用-DISABLED
	 * 
	 * @param status [枚举]状态：1-已启用-ENABLED:、2-禁用-DISABLED
	 * @return 当前对象
	 */
    public Employees status(EmployeesStatus status) {
    	this.status = status;
    	return this;
    }

	@Override
	public LocalDateTime getCreatedTime() {
    	return createdTime;
    }

    /**
	 * 设置
	 * 
	 * @param createdTime 
	 * @return 当前对象
	 */
    public Employees createdTime(LocalDateTime createdTime) {
    	this.createdTime = createdTime;
    	return this;
    }

	@Override
	public String getCreatedBy() {
    	return createdBy;
    }

    /**
	 * 设置
	 * 
	 * @param createdBy 
	 * @return 当前对象
	 */
    public Employees createdBy(String createdBy) {
    	this.createdBy = createdBy;
    	return this;
    }

	@Override
	public String getModifiedBy() {
    	return modifiedBy;
    }

    /**
	 * 设置
	 * 
	 * @param modifiedBy 
	 * @return 当前对象
	 */
    public Employees modifiedBy(String modifiedBy) {
    	this.modifiedBy = modifiedBy;
    	return this;
    }

	@Override
	public LocalDateTime getModifiedTime() {
    	return modifiedTime;
    }

    /**
	 * 设置
	 * 
	 * @param modifiedTime 
	 * @return 当前对象
	 */
    public Employees modifiedTime(LocalDateTime modifiedTime) {
    	this.modifiedTime = modifiedTime;
    	return this;
    }

	@Override
	public Boolean getDel() {
    	return del;
    }

    /**
	 * 设置逻辑删除，1表示已删除,0表示未删除
	 * 
	 * @param del 逻辑删除，1表示已删除,0表示未删除
	 * @return 当前对象
	 */
    public Employees del(Boolean del) {
    	this.del = del;
    	return this;
    }

	@Override
	public String getDelBy() {
    	return delBy;
    }

    /**
	 * 设置
	 * 
	 * @param delBy 
	 * @return 当前对象
	 */
    public Employees delBy(String delBy) {
    	this.delBy = delBy;
    	return this;
    }

	@Override
	public LocalDateTime getDelTime() {
    	return delTime;
    }

    /**
	 * 设置
	 * 
	 * @param delTime 
	 * @return 当前对象
	 */
    public Employees delTime(LocalDateTime delTime) {
    	this.delTime = delTime;
    	return this;
    }
}
